package com.systemsjr.jrappointment.setting;

import javax.swing.JComponent;

import com.systemsjr.jrappointment.setting.vo.SystemSettingVO;
import com.systemsjr.jrappointment.utils.ServiceUtils;
import com.systemsjr.jrlib.richclient.BaseItemForm;

public class SettingForm extends BaseItemForm<SystemSettingVO> {

	public SettingForm(SystemSettingVO item, String formId) {
		super(item, formId);
	}

	public SettingForm(){
		this(ServiceUtils.createDefaultSetting(), "settingForm");
	}
	
	@Override
	protected void doCreateControl() {
		
		builder.add("registrationNumber");
		builder.row();
		builder.add("companyName");
		builder.row();
		super.endFormCreate(null);
	}

}
